package com.cksys.achievement.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName: Roles
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2020/3/8 19:31
 */
@Getter
@AllArgsConstructor
public enum RegisterEnum {

    /**
     * REGISTER_YES     审核通过
     * REGISTER_NO      审核未通过
     * UN_REGISTER      未审核
     */
    REGISTER_YES("REGISTER_YES", 1),
    REGISTER_NO("REGISTER_NO", 2),
    UN_REGISTER("UN_REGISTER", 0);

    @JsonValue
    private String roleNameJson;

    @EnumValue
    private Integer roleName;

}
